{if $list}
<ul class="index-goods2 {if $list[0]['class']}index-goods3{/if} clearfix">
  {foreach $list as $k=>$v}
  {if $v.is_cover == 1}
    {$series_cover = series_helper::get_series_cover($v.series_id)}
    {$series_title = series_helper::get_series_title($v.series_id)}
  <li class="name{$v.size}">
    <a href="{AnUrl("goods?series_id={$v.series_id}")}">
      <div class="pic"><img src="{_image($series_cover)}"></div>
      <div class="txt">
        <h3>{$series_title}</h3>
        <h4>UNIQUEEN</h4>
      </div>
    </a>
  </li>
  {else}
  <li>
    <a href="{AnUrl("goods/{$v.id}")}" class="con">
      <div class="pic"><img src="{_image($v.recommend_cover, 'big-middle')}"></div>
      <div class="txt">
        <h4 class="title">{cut_str($v.title, 12, '...')}</h4>
        <div class="clearfix">
          <span class="price left">￥{$v.price|number_format:2}</span>
          <span class="like right js_addFavHeart" id-data="{$v.id}" style="position:relative;">
            <strong style="font-weight:400;color:#BBB;font-style:normal;display:none;">{if fav_helper::is_faved('goods', $v.id)}已收藏{/if} </strong>
            <em class="icon-heart"></em>
            <span>{fav_helper::get_res_fav_count('goods', $v.id)}</span>
            <b style="position:absolute;display:none;">+1</b></span>
        </div>
      </div>
    </a>
  </li>
  {/if}
  {/foreach}
</ul>
{/if}